package easy.trace.config;


import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

@Configuration
@ConditionalOnProperty(
        name = {"easy.trace.client.enabled"},
        matchIfMissing = true
)
@ImportResource({"classpath*:hydra-config-sb.xml"})
public class TraceAutoConfiguration {
    public TraceAutoConfiguration() {
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof TraceAutoConfiguration)) {
            return false;
        } else {
            TraceAutoConfiguration other = (TraceAutoConfiguration)o;
            return other.canEqual(this);
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof TraceAutoConfiguration;
    }

    public int hashCode() {
        int result = 1;
        return result;
    }

    public String toString() {
        return "TraceAutoConfiguration()";
    }
}

